export default [
  {
    path: '/home',
    name: 'home',
    component: () => import('@/views/home/index.vue'),
    meta: {
      title: '首页',
      tabbar: true,
      requireAuth: false,
      keepAlive: false,
    },
  },
  {
    path: '/publish',
    name: 'publish',
    component: () => import('@/views/publish/index.vue'),
    meta: {
      title: '发布',
      tabbar: true,
      requireAuth: true,
      keepAlive: false,
    },
  },
  {
    path: '/chat',
    name: 'chat',
    component: () => import('@/views/chat/index.vue'),
    meta: {
      title: '消息',
      tabbar: true,
      requireAuth: true,
      keepAlive: true,
    },
  },
  {
    path: '/user/self',
    name: 'user',
    component: () => import('@/views/profile/index.vue'),
    meta: {
      title: '我的',
      tabbar: true,
      requireAuth: true,
      keepAlive: true,
    },
  },
]
